home *** CD-ROM | disk | FTP | other *** search
/ Total Network Tools 2002 / NextStepPublishing-TotalNetworkTools2002-Win95.iso / Archive / Misc Servers / Zope.exe / DEBUG.DTML < prev    next >
Encoding:
Text File  |  2000-05-08  |  2.4 KB  |  105 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
  2. <html lang="en">
  3. <head>
  4. <title>Debug Information</title>
  5. <style type="text/css">
  6. <!-- 
  7. .header {
  8. font-weight: bold;
  9. font-size: 10pt;
  10. }
  11.  
  12. .cell {
  13. font-size: 10pt;
  14. }
  15.  
  16. -->
  17.  
  18. </style>
  19. <dtml-if debug_auto_reload>
  20. <meta HTTP-EQUIV="Refresh"
  21.   CONTENT="&dtml-debug_auto_reload;; URL=&dtml-URL;?debug_auto_reload=&dtml-debug_auto_reload;">
  22. </dtml-if>
  23. </head>
  24.  
  25. <body bgcolor="#FFFFFF" link="#000099" vlink="#555555">
  26. <dtml-var manage_tabs>
  27.  
  28. <dtml-if update_snapshot>
  29. <dtml-call rcsnapshot>
  30. </dtml-if>
  31.  
  32. <h3>Debug Information</h3>
  33. <form action="&dtml-URL;" method="GET">
  34. <p>
  35. <ul>
  36. <li>Zope version: <dtml-var version_txt>
  37. <li>Python version: <dtml-var sys_version>
  38. <li>System Platform: <dtml-var sys_platform>
  39. <li>Process ID: <dtml-var process_id> (<dtml-var thread_get_ident>)
  40. <li>Running for: <dtml-var process_time>
  41. <li>Top Refcounts:<br><select name="foo" size="5"><dtml-in
  42.     "refcount(100)"><option><dtml-var 
  43.     sequence-item>: <dtml-var sequence-key></option></dtml-in
  44.     ></select><br><br>
  45.  
  46. <table border="1">
  47. <dtml-in rcdeltas mapping>
  48. <dtml-if sequence-start>
  49. <tr>
  50. <th class="header" align="left" valign="top">
  51. Class
  52. </th>
  53. <th class="header" align="left" valign="top">
  54. <dtml-var rcdate fmt="fCommon" null="">
  55. </th>
  56. <th class="header" align="left" valign="top">
  57. <dtml-var ZopeTime fmt="fCommon">
  58. </th>
  59. <th class="header" align="left" valign="top">
  60. Delta
  61. </th>
  62. </tr>
  63. </dtml-if>
  64. <tr>
  65. <td class="cell" align="left" valign="top">
  66. <dtml-var name>
  67. </td>
  68. <td class="cell" align="left" valign="top">
  69. <dtml-var pc> 
  70. </td>
  71. <td class="cell" align="left" valign="top">
  72. <dtml-var rc>
  73. </td>
  74. <td class="cell" align="left" valign="top">
  75. +<dtml-var delta>
  76. </td>
  77. </tr>
  78. </dtml-in>
  79. </table>
  80.  
  81. <p><a href="<dtml-var URL>?update_snapshot=1">Update Snapshot</a> | 
  82. <dtml-if debug_auto_reload>
  83.   <a href="<dtml-var URL>">Stop auto refresh</a>
  84. <dtml-else>
  85.   <a href="<dtml-var URL>">Refresh</a> |
  86.   Auto refresh interval (seconds):
  87.   <input type="text" name="debug_auto_reload" size="3" value="10">
  88.   <input type="submit" value="Start auto refresh">
  89. </dtml-if>
  90. </p>
  91.  
  92. <li>Connections:
  93. <table border="1">
  94. <tr><th>opened</th><th>info</th><th>version</th></tr>
  95. <dtml-in dbconnections mapping>
  96.   <tr><td>&dtml-opened;</td><td>&dtml-info;</td><td>&dtml-version;</td></tr>
  97. </dtml-in></table>
  98.  
  99. </ul>
  100. </p>
  101.  
  102. </form>
  103. </body>
  104. </html>
  105.